package com.dx.service;

import com.dx.api.RemoteQaLogService;
import com.dx.context.ContextHolder;
import com.dx.domain.QaOperLog;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class LogService {
    private final RemoteQaLogService remoteQaLogService;
    public void add(QaOperLog qaOperLog) {
        remoteQaLogService.add(qaOperLog, ContextHolder.getJwtToken());

    }
}
